package com.systemframework.sys.dto.request;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author summer
 * @date 2023-03-21 9:31
 */
@Data
public class SysDeptRequestDTO implements Serializable {

    @NotBlank(message = "部门名称不能为空")
    private String name;

    private String mark;

    @NotNull(message = "部门上级id不能为空")
    private Integer pid;

    private Integer id;
}
